package com.bs.jianli.mapper;

import com.bs.jianli.entity.Role;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 角色管理表 Mapper 接口
 * </p>
 *
 * @author yao
 * @since 2023-01-13
 */
public interface RoleMapper extends BaseMapper<Role> {

    //获取登录用户的角色
    public List<Role> addRoles(String userid);
}
